package com.ld.xxssglxt.pojo;

import java.io.Serializable;

public class Admin implements Serializable {
    /*
        模型类的类型尽量使用包装器类，不要使用基本数据类型，因为基本数据类型无法表达null值
     */
    private Integer id;
    private String account;
    private String password;
    private String createDate;
    private Integer status;

    public Admin(){}
    public Admin(Integer id, String account, String password, String createDate, Integer status) {
        this.id = id;
        this.account = account;
        this.password = password;
        this.createDate = createDate;
        this.status = status;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "id=" + id +
                ", account='" + account + '\'' +
                ", password='" + password + '\'' +
                ", createDate='" + createDate + '\'' +
                ", status=" + status +
                '}';
    }
}
